package com.jt.www.domain.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

/**
 * @描述:
 * @author: yuwf
 * @Date: 2018/10/8 15:37
 * @ModifiedDate：
 * @Copyright:江泰保险股份有限公司
 */

public class OrgElementRelaValuesVM {

    @JsonIgnore(value = true)
    private Long id;

    /**
     * 属性id,
     */
    @JsonIgnore(value = true)
    private Integer elementRelaConfId;

    /**
     * 上级节点
     */
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private Long parentId;
    /**
     * 属性值编码
     */
    private String valuesCode;
    /**
     * 元素值
     */
    private String elementValues;
    /**
     * 状态:0-失效，1-生效
     */
    @JsonIgnore(value = true)
    private String status;
    /**
     * 子节点
     */
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private List<OrgElementRelaValuesVM> children;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getElementRelaConfId() {
        return elementRelaConfId;
    }

    public void setElementRelaConfId(Integer elementRelaConfId) {
        this.elementRelaConfId = elementRelaConfId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getValuesCode() {
        return valuesCode;
    }

    public void setValuesCode(String valuesCode) {
        this.valuesCode = valuesCode;
    }

    public String getElementValues() {
        return elementValues;
    }

    public void setElementValues(String elementValues) {
        this.elementValues = elementValues;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<OrgElementRelaValuesVM> getChildren() {
        return children;
    }

    public void setChildren(List<OrgElementRelaValuesVM> children) {
        this.children = children;
    }
}
